package com.kkw.shoppingmall.product.feign;

import com.kkw.common.to.SkuHasStockVo;
import com.kkw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Kevin
 * @date Kevin
 **/
@FeignClient("shoppingmall-ware")
public interface WareFeignService {

    /**
     * 获取库存
     * @param SkuIds
     * @return
     */
    @PostMapping("ware/waresku/hasStock")
    R getSkuHasStock(@RequestBody List<Long> SkuIds);
}
